class Queue:
    def __init__(self):
        self.items = []
        self.count = 0

    def isEmpty(self):
        return self.items == []

    def enqueue(self, item):
        self.items.insert(0, item)
        self.count = self.count + 1

    def dequeue(self):
        if self.count > 0:
            self.count = self.count - 1
            return self.items.pop()
        else:
            print("No people")
            raise NotImplementedError

    def size(self):
        # return len(self.items)
        return self.count


if __name__ == "__main__":
    q = Queue()
    print(q.isEmpty())
    q.enqueue('x')
    q.enqueue(1)
    print(q.isEmpty())
    print(q.size())
    print(q.dequeue())
    print(q.dequeue())
    print(q.dequeue())
